<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="box"></div>
<script>
    var imgTag = document.createElement('img');
    imgTag.setAttribute('src','images/1.3a.jpg');
    //imgTag.style.width = '100px';
    document.getElementById('box').appendChild(imgTag);
</script>
</body>
</html>